import { defineStore } from 'pinia';
export const useDriverStore = defineStore('driver', {
	state: () => {
		return {
			nowItem: {}
		}
	},
	actions: {
		// 设置数据
		async setData(key, data) {
			this[key] = data
		},
		// 获取数据
		getData(key) {
			return this[key]
		},
	}
});